<template>
	<div class="index">
		<component :is="component"></component>
	</div>
</template>
<script>
import { reactive } from 'vue'
import examples from './examples/index'

export default {
	setup() {
		const component=reactive({})
		
		return {
			component
		}
	},
	created(){
		this.component=examples.initView('select')
	}
}
</script>
<style>
	.index{
		width: calc(100% - 500px);
		height: 200px;
		margin-left: 300px;
	}
</style>
